<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>增加收获地址</title>
		<link rel="stylesheet" href="<?php echo __PUBLIC__?>/Home/less/address.css" />
		<link rel="stylesheet" href="<?php echo __PUBLIC__?>/hdjs/hdjs.css" />
		<script src="<?php echo __PUBLIC__?>/Home/city/area.js"></script>
	
		<script src="<?php echo __PUBLIC__?>/Home/city/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="<?php echo __PUBLIC__?>/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function() {
				//初始化方法
				area.init('a');
				//修改的时候默认被选中效果
				area.selected('黑龙江', '哈尔滨', '道里区');
			})
		</script>
		<!--hdjs手机邮编验证-->
		<script type="text/javascript">
			
		    $(function () {
		        $('.addform').validate({            
		            tel: {
		                rule: {
		                    phone: true
		                },
		                error: {
		                    phone: '手机号错误'
		                },
		                 success: '验证通过',
		            },
		
		            code: {
		                rule: {
		                    regexp: /^[1-9]{5}$/
		                },
		                error: {
		                    regexp: '不是5位数字'
		                },
		                 success: '验证通过',
		            }
		   
		        })
		    })

		</script>
	</head>
		
	<body>
		
		<div id="addcity">
			
			<div class="city">
				<h4 class="addcityh4">添加收货地址</h4>
				<form action="" class="addform"method="post">
					* 收货人：
					<input type="text" name="name" id="" />
					<br />
					<br />
					 * 地区：
					<select name="sheng" id="a1">
					</select>
					<select name="shi" id="a2">
					</select>
					<select name="qu" id="a3">
					</select>
					<br /> 
					<br />
					* 详细地址：
					<input type="text" name="address" id="" /> 
					<br /> 
					<br />
					* 邮政编码：
					<input type="text" name="code" id="" />
					<br /> 
					<br />
					* 联系方式：
					<input type="text" name="tel" id="" />
					<br />
					<br />
					<!--<input type="radio" name="" id="" /> 设置为默认收货地址-->
					<br />
					<br />
					<input type="submit" value="提交新地址" class="hd-btn hd-btn-success hd-btn-lg"/>
					<!--<a href="<?php echo U('BuycarTwo/index')?>"type="submit" value=""class='sub' >添加地址</a>-->
					

				</form>
			</div>
			 </div>
	</body>

</html>